<?php
// sipur february 23,2015

class VehicleController extends BaseController {
// tblbmc_vehicle_manufature

	public function formManufacture()
	{
		// show the form
		return View::make('vehicle/form_vmanufacture');
	}

	public function saveManufacture()
	{
		$newVma = new Vehiclemanufacture;
		$newVma->v_manufacture_name = Input::get('manufacturename');
		$newVma->v_description = Input::get('description');
		$newVma->i_status = 1;
		$newVma->i_created_user = Auth::user()->i_user_id;
		$newVma->save();
		
		return Redirect::to('vehicle/form_vmanufacture')->with('message', 'Save Success');
	}


// end tblbmc_v_m 



}

	
